<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/commons/taglibs.jsp"%>
<%@ taglib prefix="sys" tagdir="/WEB-INF/tags" %>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>用户管理页面</title>
  <jsp:include page="../../../commons/common-list.jsp"></jsp:include>
  <script type="text/javascript" src="${basePath}/statics/modules/sys/user/js/user_list.js"></script>


</head>
<body>
  <sys:message msgContent="${message}" />
          <div style="margin-top:20px;">
               <div class="row" style="margin:10px 0px 10px 12px;">
                   <label class="col-md-1 control-label text-pull-right line-height-30 " for="username">用户名称:</label>
                   <input class="col-md-3 input-height-30" type="text" id="username" name="username" >
                   <button class="col-md-1 btn-radius btn btn-primary line-height-30"  onclick="search()" style="margin-left: 40px;"><i class="fa fa-search" style="margin-right: 5px"></i>查询</button>
                   <button class="col-md-1 btn-radius btn btn-primary line-height-30" onclick="reset()" type="reset" style="margin-left: 5px;" ><i class="fa fa-undo" style="margin-right: 5px"></i>重置</button>
              </div>
              <div class="row" style="margin:10px 0px 10px 30px;">
                  <div class="pull-left" >
                       <shiro:hasPermission name="sys:user:add">
                          <button  class="btn-radius btn btn-primary" type="button"  onclick="addUser();" ><i class="fa fa-plus" style="margin-right: 5px"></i>添加用户</button>
                      </shiro:hasPermission>

                      <shiro:hasPermission name="sys:user:delete">
                          <button id="btnSubmit" class="btn-radius btn btn-danger" type="button" style="margin-left: 5px" onclick="batchDelete();"><i class="fa fa-trash-o" style="margin-right: 5px"></i>禁用用户</button>
                      </shiro:hasPermission>
               </div>

              </div>
          </div>


      <div class="easyui-datagrid" id="dataGrid" ></div>

  </body>

</html>
